import request from '@/utils/request'

// 发送信息
export function sendMessageTo (data) {
  return request({
    url: '/web/AIChat/sendMessage',
    method: 'post',
    data: data
  })
}

export function sendMessageStream (data) {
  return request({
    url: '/web/AIChat/stream',
    method: 'post',
    data: data
  })
}
